package com.dcy.znoa.domain.sys;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.dcy.znoa.common.enums.OperTypeCode;
import com.dcy.znoa.common.enums.SexCode;
import com.dcy.znoa.domain.attendance.AttRule;
import com.dcy.znoa.domain.publiz.Company;
import com.dcy.znoa.domain.publiz.Department;
import com.dcy.znoa.domain.publiz.Duty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("app_version") //版本更新
public class AppVersion {

    @TableId(type = IdType.AUTO, value = "av_id")
    Long avId;

    @TableField("version")
    String version;

    @TableField("os_type")
    Integer osType;//操作系统类型 1 安卓 2 ios 3 Windows

    @TableField("description")
    String description;

    @TableField("release_time")
    Date releaseTime;

    @TableField("support_version")
    String supportVersion;

    @TableField("download_url")
    String downloadUrl;

    @TableField("validFlag")
    Integer validFlag;

}
